<?php

/**
 * File upload processor
 * @author ReGeDa
 */
interface FileUploadProcessor {

	/**
	 * Process upload file
	 * Return TRUE for unlink a temporary file
	 * @param string $path
	 * @param string $origname
	 * @param integer $size
	 * @param string $mime
	 * @return boolean
	 */
	function file($path, $origname, $size, $mime);
}

// end of file